<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<style type="text/css">

body {
  font-family: Verdana, Arial;
  font-size: 12px;
}

@media print {
  body{
    font-size: 10px;
  }
  @page {
    size: landscape;
  }
  #toolbar{
    display : none;
  }
}

.taxe-table {
  margin-bottom: 20px;
  page-break-after: always;
}

.taxe-table-html {
  border-collapse: collapse;
}

.hover-line:hover{
background-color: #117AC0;
color: white;
}

.taxe-table-html tr {
  text-align: center;
}

.taxe-table-html th {
  padding: 3px;
  text-transform: uppercase;
}
.taxe-table-html td {
  padding: 3px;
  text-transform: uppercase;
}
.personal-button:hover{
background-color: white;  
}

.personnal-border{
border : 1px solid #2DACBF;  
padding : 3px;
cursor: pointer;
}

a{
text-decoration: none;
}
#toolbar{
margin-top: 10px;
margin-bottom: 40px;
}
</style>

<title>Relevé locataires - Taxe habitation</title>
</head>
<body>
<div id="toolbar">
  <a href="<?php echo $data['baseurl']; ?>admin/frbFlat/frbFlat_MainController/index"><input type="button" class="personnal-border" value="Retour page précédente"></a>
  <p>Pour voir le relevé locataires de l'année <?php echo $data['year-to']; ?> cliquer sur le bouton : 
  <a href="<?php echo $data['baseurl']; ?>admin/taxe?year=<?php echo $data['year-to']; ?>"><input type="button" class="personnal-border" value="<?php echo $data['year-to']; ?>"></a><br>
  Imprimer les tableaux : <img onClick="window.print();" src="<?php echo $data['baseurl']; ?>global/img/globalbo/appartements/printer.png" style="vertical-align: middle; cursor : pointer;">
  </p>
</div>
<?php foreach($data['tab_taxe'] as $k1=>$v1): ?>
  <div class="taxe-table">
    <div class="taxe-table-header">
    <table>
    <tr> <td style="font-weight: bold;"><?php echo $v1['enterprise']; ?></td> <td style="padding-left: 20px;"><?php echo $v1['address']; ?></td> </tr>
    <tr> <td colspan="2" style="font-weight: bold;"><?php echo $v1['title']; ?></td> </tr>
    </table>
    </div>
    <div class="taxe-table-content"><?php echo $v1['content']; ?></div>
  </div>
<?php endforeach; ?>

</body>
</html>